package org.zoomdev.zoom.protobuf.modules;

import io.protostuff.ByteArrayInput;
import io.protostuff.ProtostuffOutput;

import java.io.IOException;

/**
 * 区别于
 */
public interface ISchema {

    void write(ProtostuffOutput output, int index, Object value, boolean repeat) throws IOException;

    Object mergeFrom(ByteArrayInput input) throws IOException;
}
